package com.cskaoyan.service.adminservice;

import com.cskaoyan.bean.po.MarketPermission;
import com.cskaoyan.bean.po.MarketRole;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.chaosbean.role.permissions.vo.PerVO;
import com.cskaoyan.bean.chaosbean.storage.vo.StorageListVO;
import com.cskaoyan.bean.chaosbean.system.vo.SystemOptionsVO;

/**
 * @author jackX
 * @datetime 2022/12/28 18:57
 * @description: TODO:
 */
public interface RoleService {
    SystemOptionsVO selectOptions();

    StorageListVO selectInfo(BasePageInfo info, String name);

    BaseRespVo create(MarketRole role);

    BaseRespVo update(MarketRole role);

    void delete(MarketRole role);

    PerVO selectPer(Integer roleId);

    void updateRolePer(MarketPermission per);
}


